-- CALC_ACTIVITY_LEOPARD_BONUS

-- 计算观活动本【黑白皇后】豹子掉落
-- @param user    玩家对象
-- @param args    奖励计算参数
return function(user, args)
    local rand = DungeonM.getRandSeed("activities_leopard");
    local arr;
    local arr1;
    local bonus = {};

    arr = { { ["bonus"] = { 2, "money", 5000, }, ["ratio"] = 50, },
            { ["bonus"] = { 2, "money", 10000, }, ["ratio"] = 50, },};

    arr1 = fetchElemBySeed(arr, rand);
    bonus  = arr1["bonus"];

    return bonus;
end